package com.bdweb.dao.impl;

import com.bdweb.dao.powerAllDao;
import com.bdweb.model.POWER;
import com.bdweb.service.impl.PowerServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class powerAllDaoImpl implements powerAllDao {
    @Autowired
    private PowerServiceImpl powerServiceImpl;
    @Override
    public List<POWER> list() {
        // 获取bd_power表单所有数据
        List<POWER> allPower = powerServiceImpl.findAllPower();

        return allPower;
    }
}
